package com.ruoyi.huoxingshi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图对象 hxs_banners
 * 
 * @author huoxingshi
 * @date 2025-06-25
 */
public class HxsBanners extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播ID */
    private Long id;

    /** 轮播标题 */
    @Excel(name = "轮播标题")
    private String title;

    /** 轮播图 */
    @Excel(name = "轮播图")
    private String imageUrl;

    /** 跳转类型 */
    @Excel(name = "跳转类型")
    private String targetType;

    /** 跳转链接 */
    @Excel(name = "跳转链接")
    private Long targetUrl;

    /** 排序权重 */
    @Excel(name = "排序权重")
    private Integer sortOrder;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String isActive;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public void setTargetType(String targetType) 
    {
        this.targetType = targetType;
    }

    public String getTargetType() 
    {
        return targetType;
    }

    public void setTargetUrl(Long targetUrl) 
    {
        this.targetUrl = targetUrl;
    }

    public Long getTargetUrl() 
    {
        return targetUrl;
    }

    public void setSortOrder(Integer sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Integer getSortOrder() 
    {
        return sortOrder;
    }

    public void setIsActive(String isActive) 
    {
        this.isActive = isActive;
    }

    public String getIsActive() 
    {
        return isActive;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("imageUrl", getImageUrl())
            .append("targetType", getTargetType())
            .append("targetUrl", getTargetUrl())
            .append("sortOrder", getSortOrder())
            .append("isActive", getIsActive())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
